//
//  WXSPlayerManager.h
//  SmartRecorderTest
//
//  Created by 王勇 on 16/9/20.
//  Copyright © 2016年 王勇. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>

@interface WXSPlayerManager : NSObject

+(instancetype)sharedManager;

-(AVAudioPlayer*)playAudioFile:(NSString*)fileName;

-(void)stopPlayingAudio:(NSString*)fileName;

-(void)pauseAudioFile:(NSString*)fileName;

-(NSMutableArray*)allAudioFilesInDirectory:(NSString*)fileDirectory;

-(void)removeAudioFile:(NSString*)filePath;

#warning methods not implemented
+(void)getAudioLenth:(NSString*)fileName;



@end
